package com.agp.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "登录返回的数据格式")
public class UserLoginVO {
    @ApiModelProperty("昵称")
    private String username;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("jwt令牌")
    private String token;

    @ApiModelProperty("角色")
    private Integer role;

    @ApiModelProperty("角色菜单")
    private String[] menu;
}
